export class RegexHelper {
  private constructor() {}

  public static matchAll(str: string, regex: RegExp) {
    const matches = str.matchAll(regex);
    return [...matches];
  }
}
